package com.briup.oagg.dataset.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.briup.framework.utils.common.EntityUtils;
import com.briup.framework.utils.execption.BriupAssert;
import com.briup.framework.utils.web.ResponseCode;
import com.briup.oagg.dataset.bean.basic.Reservoir;
import com.briup.oagg.dataset.bean.basic.Trap;
import com.briup.oagg.dataset.bean.ext.TrapExt;
import com.briup.oagg.dataset.mapper.basic.ReservoirMapper;
import com.briup.oagg.dataset.mapper.basic.TrapMapper;
import com.briup.oagg.dataset.mapper.ext.TrapExtMapper;
import com.briup.oagg.dataset.service.IReservoirService;
import com.briup.oagg.dataset.service.ITrapService;
import com.briup.oagg.dataset.web.vm.TrapAddVM;
import com.briup.oagg.dataset.web.vm.TrapUpdateVM;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.stream.Collectors;

import static com.briup.framework.utils.web.ResponseCode.NAME_EXISTED;

/**
 * 圈闭类型信息业务逻辑接口实现类
 *
 * @author briup
 */
@Service
public class TrapServiceImpl extends ServiceImpl<TrapMapper, Trap> implements ITrapService {
    @Override
    public void addTrap(TrapAddVM vm) {

    }

    @Override
    public void updateTrap(TrapUpdateVM vm) {

    }

    @Override
    public Page<TrapExt> findByPage(Integer pageNum, Integer pageSize, String zoneId) {
        return null;
    }

    @Override
    public void deleteById(String trapId) {

    }
}
